<?php
$note = "";
if (isset($_GET['action']) == "del") {
    $id = $_GET['id'];
    $nxb = new nxb;
	$nxb->set_id($id);
    $nxb->delete_nxb();
}

header('Location: ' . $_SERVER['HTTP_REFERER']);

exit();
?>